<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>左侧菜单</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="/mall/Public/css/amazeui.min.css"/>
    <link rel="stylesheet" href="/mall/Public/css/admin.css">
</head>
<body>
<ul class="am-list admin-sidebar-list" style="border-right: 1px solid #cecece;">
    <li><a href="/mall/admin.php/index/home" target="home_frame"><span class="am-icon-home"></span> 首页</a></li>
    <?php if(is_array($menu)): $key = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($key % 2 );++$key; if($list["top"] == 0): ?><li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav-<?php echo ($list["id"]); ?>'}">
                    <span class="<?php echo ($list["icon"]); ?>"></span>
                    <?php echo ($list["name"]); ?>
                    <span class="am-icon-angle-right am-fr am-margin-right"></span>
                </a>
                <ul class="am-list am-collapse admin-sidebar-sub" id="collapse-nav-<?php echo ($list["id"]); ?>">
                    <?php echo get_children_menu($list['id']);?>
                </ul>
            </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
</ul>
<script type="text/javascript" src="/mall/Public/js/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/mall/Public/js/amazeui.min.js"></script>
</body>
</html>